<?php
/**
 * Enter description here ...
 * @author NgoAnhTu
 * @date 2013-11-07
 * @table(newscategories)
 */
final class NewsCategory extends Entity {
		
	/**
	 * @column(Name)
	 * @type(string)
	 */
	public $name;
		
	/**
	 * @column(Active)
	 * @type(number)
	 */
	public $active;

	/**
	 * @column(Lang)
	 * @type(string)
	 */
	public $lang;
	
	public $news = array();
	
	/**
	 * Constructor
	 * @param integer $id
	 * @param string $name
	 * @param integer $active
	 * @param integer $lang
	 */
	public function NewsCategory($id = 0, $name = '', $active = 0, $lang = '') {
		$this->id = $id;
		$this->name = $name;
		$this->active = $active;
		$this->lang = $lang;
	}
	
}
?>